package lab03.test07;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;

public class Test07 {
    public static void main(String[] args) {
        String path = "F:\\各类桌面文件\\java实验读取写入文档\\book.zip";
        ZipInputStream zipInputStream = null;
        try {
            zipInputStream = new ZipInputStream(new FileInputStream(path));
            ZipEntry zipEntry;
            while ((zipEntry = zipInputStream.getNextEntry()) != null);
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }finally {
        }
    }

}
